package com.yf.entity.course;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 上课记录实体
 * 表名 lesson_record
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Oct 23 16:44:32 CST 2018
 */
@Setter
@Getter
public class LessonRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //ID
    private Long id;
    //章节ID
    private Long lessonId;
    //上课人ID
    private Long userId;
    //加入时间
    private Date joinTime;
    //学习进度
    private Integer rate;

    public LessonRecordEntity(){

    }

    public LessonRecordEntity(Long lessonId, Long userId, Date joinTime) {
        this.lessonId = lessonId;
        this.userId = userId;
        this.joinTime = joinTime;
    }
}
